// this 是不可以被推导出来
type ThisType = { name: string }
function eating(this: ThisType) {
    console.log(this);
    console.log(this.name + 'eating');
}
const info = {
    name: 'why',
    eating: eating
}

// 隐式绑定
info.eating()

// eating()

// 显示绑定
eating.call({ name: 'kobe' }, '333')
eating.apply({ name: 'james' }, ['111', '222'])

export { }